package com.uni.domain;

public class File extends Identifier {

    private byte[] data;
    private String type;
    private String fileName;
    private String contentType;

    public byte[] getData() {
        return data;
    }

    public File() {}

    public void setData(byte[] photo) {
        this.data = photo;
    }

    public boolean isNew() {
        return true;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

	public void setType(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileName() {
		return fileName;
	}

}
